<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
	<div>
		<h1>get方式</h1>
		<form action="./demo2.php" method="get">
			<div>
				用户名 <input type="text" name="uname"/>
			</div>
			<div>
				密码 <input type="password" name="upwd">
			</div>
			<div>
				<input type="submit" value="登录">
			</div>
			
		</form>
	</div>
	<div>
		<h1>post方式</h1>
		<form action="./demo2.php?a=123" method="post">
			<div>
				用户名 <input type="text" name="uname"/>
			</div>
			<div>
				密码 <input type="password" name="upwd">
			</div>
			<div>
				<input type="submit" value="登录">
			</div>
			
		</form>
	</div>
	
</body>
</html>